package com.itheima.reggie.service;

import com.itheima.reggie.domain.Address;

import java.util.List;

public interface AddressService {
    //查询
    List<Address> findList();
    //添加地址
    void addAddress(Address address);
    //设置默认地址
    void setDefault(Long id);
    //查询默认地址
    Address findDefault();
    //回显地址信息
    Address findById(Long id);
    //修改
    void save(Address address);
    //删除
    void deleteByIds(Long ids);
}
